package routers

import (
	"baikBingo/app/Http"

	"github.com/gin-gonic/gin"
)

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application.
|
*/

func API(server *gin.Engine) {

	//初始化控制器
	var http Http.Controller

	// Simple group: api
	api := server.Group("/api")
	// api.Use(Auth.Authorize())
	{
		// api.GET("/helloWorld", Auth.Authorize(), http.TestController.HelloWorld)
		api.GET("/helloWorld", http.TestController.HelloWorld)
	}
}
